package com._54programer.ioc.config.config.register;

import com._54programer.ioc.config.beans.register.Color;
import com._54programer.ioc.config.beans.register.Person;
import org.springframework.beans.factory.FactoryBean;

public class PersonFactoryBean implements FactoryBean<Person> {

    public Person getObject() throws Exception {
        return new Person();
    }

    public Class<?> getObjectType() {
        return Color.class;
    }

    public boolean isSingleton() {
        return true;
    }
}
